package com.example.demo.pdfbox.tabel;import com.example.demo.pdfbox.common.PdfDocument;import com.example.demo.pdfbox.common.PdfMargin;import com.example.demo.pdfbox.common.function.PdfContent;import lombok.Getter;import lombok.Setter;import org.apache.pdfbox.pdmodel.common.PDRectangle;import java.util.ArrayList;import java.util.List;@Getterpublic class PdfPage extends PdfDocument implements PdfContent {	@Setter	private int startPage;	@Setter	private int endPage;	private List<PdfElement> elementList = new ArrayList<>();	public void addElement(PdfElement element) {		elementList.add(element);	}	public void setRectangle(PDRectangle rectangle) {		super.rectangle = rectangle;	}	public void setMargin(PdfMargin margin) {		super.margin = margin;	}	@Override	public PDRectangle getCurrentPageRectangle() {		return rectangle;	}	@Override	public PdfMargin getCurrentPageMargin() {		return margin;	}}